import { RouteRecordRaw } from 'vue-router'
import { ROUTER_NAME } from '@/constant'
import { LAYOUT, BLANK_LAYOUT } from '@/router/constant'
import { setRootPathByPermission } from '@/router/util'

const pageRouterConfig: RouteRecordRaw = {
    name: ROUTER_NAME.PAGE_DASHBOARD + '_ROOT',
    // 匹配全部其他内容
    path: import.meta.env.VITE_PUBLIC_PATH + '/',
    redirect: () => {
        return setRootPathByPermission()
    },
    component: LAYOUT,
    meta: {
        isLayout: true,
        hideMenu: false,
        title: 'MENU_LAYOUT'
    },
    children: [
        {
            name: 'menu_page_50000005_or1v6r878w',
            path: '/menu_50000005_or1v6r878w',
            redirect: '/app_50000005/page/50000513',
            meta: {
                code: '50000005_or1v6r878w',
                settingId: 'null',
                menuExpandFlag: true,
                hideMenu: false,
                title: '项目管理',
                icon: ''
            },
            children: [
                {
                    path: '/app_50000005/page/jiaofu',
                    component: () => import('@/views/page/jiaofu.vue'),
                    meta: {
                        code: '50000005_odurqo1bxv',
                        settingId: '50000503',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '检查清单管理',
                        icon: 'null'
                    }
                }
            ]
        },

        {
            name: 'menu_page_50000005_r1b0l7hmae',
            path: '/menu_50000005_r1b0l7hmae',
            redirect: '/app_50000005/allin-app/allin-privilege-management-web/organizational',
            meta: {
                code: '50000005_r1b0l7hmae',
                settingId: 'null',
                menuExpandFlag: true,
                hideMenu: false,
                title: '系统管理',
                icon: ''
            },
            children: [
                {
                    name: 'menu_system_f7f3cf7e-d470',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/organizational',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_organizational',
                        settingId: 'f7f3cf7e-d470',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '组织架构管理',
                        icon: 'null'
                    }
                },
                {
                    name: 'menu_system_f3b6d861-1a04',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/user_group',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_userGroup',
                        settingId: 'f3b6d861-1a04',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '用户组管理',
                        icon: 'null'
                    }
                },
                {
                    name: 'menu_system_6ff38628-3b17',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/role',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_role',
                        settingId: '6ff38628-3b17',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '角色管理',
                        icon: 'null'
                    }
                },
                {
                    name: 'menu_system_d55db19a-639f',
                    path: '/app_50000005/allin-app/allin-privilege-management-web/user',
                    component: () => import('@/views/system/MicroAppViteContainer.vue'),
                    meta: {
                        code: 'lowCode_user',
                        settingId: 'd55db19a-639f',
                        menuExpandFlag: true,
                        hideMenu: false,
                        title: '用户管理',
                        icon: 'null'
                    }
                },

                {
                    path: '/app_50000005/page/50000520',
                    component: () => import('@/views/page/Page50000520.vue')
                },
                {
                    path: '/app_50000005/page/shichang',
                    component: () => import('@/views/page/shichang.vue')
                },
                {
                    path: '/app_50000005/page/jixiao',
                    component: () => import('@/views/page/jixiao.vue')
                },
                {
                    path: '/app_50000005/page/pingtai',
                    component: () => import('@/views/page/pingtai.vue')
                },
                {
                    path: '/app_50000005/page/hetong',
                    component: () => import('@/views/page/contractManagement.vue')
                },
                {
                    path: '/app_50000005/page/ceshi',
                    component: () => import('@/views/page/ceshi.vue')
                },
                {
                    path: '/app_50000005/page/ribao',
                    component: () => import('@/views/page/ribao.vue')
                },
                {
                    path: '/app_50000005/page/luyin',
                    component: () => import('@/views/page/luyin.vue')
                },

                {
                    path: '/app_50000005/page/ribao',
                    component: () => import('@/views/page/ribao.vue')
                },
                {
                    path: '/app_50000005/page/mubiao',
                    component: () => import('@/views/page/mubiao.vue')
                },
                {
                    path: '/app_50000005/wubian/xinqianhetong',
                    component: () => import('@/views/wubian/xinqianhetong.vue')
                },
                {
                    path: '/app_50000005/wubian/shengchanjiaofu',
                    component: () => import('@/views/wubian/shengchanjiaofu.vue')
                },

                {
                    path: '/app_50000005/wubian/churuku',
                    component: () => import('@/views/wubian/churuku.vue')
                },
                {
                    path: '/app_50000005/wubian/fahuo',
                    component: () => import('@/views/wubian/fahuo.vue')
                },
                {
                    path: '/app_50000005/wubian/huikuan',
                    component: () => import('@/views/wubian/huikuan.vue')
                },
                {
                    path: '/app_50000005/wubian/yikaipiao',
                    component: () => import('@/views/wubian/yikaipiao.vue')
                },
                {
                    path: '/app_50000005/wubian/dangjin',
                    component: () => import('@/views/wubian/dangjin.vue')
                },
                {
                    path: '/app_50000005/wubian/kucun',
                    component: () => import('@/views/wubian/kucun.vue')
                },
                {
                    path: '/app_50000005/page/gante',
                    component: () => import('@/views/page/gantetu.vue')
                },
                {
                    path: '/app_50000005/page/tree',
                    component: () => import('@/views/page/gante.vue')
                },
                {
                    path: '/app_50000005/page/shuini',
                    component: () => import('@/views/page/Page50001860.vue')
                },
                {
                    path: '/app_50000005/page/kanban',
                    component: () => import('@/views/page/kanban.vue')
                },
                {
                    path: '/app_50000005/page/zhoubao1',
                    component: () => import('@/views/page/zidongzhoubao.vue')
                },
                {
                    path: '/app_50000005/page/task',
                    component: () => import('@/views/page/task.vue')
                },
                {
                    path: '/app_50000005/page/zhoubao',
                    component: () => import('@/views/page/xiezuo/zhoubao.vue')
                },
                {
                    path: '/app_50000005/page/zjsnAuth',
                    component: () => import('@/views/page/zjsnAuth.vue')
                },
                {
                    path: '/app_50000005/page/xmjd',
                    component: () => import('@/views/page/xmjd.vue')
                },
                {
                    path: '/app_50000005/page/muban',
                    component: () => import('@/views/page/jfmubanguanli.vue')
                },
                {
                    path: '/app_50000005/page/gzt',
                    component: () => import('@/views/page/gzt.vue')
                },
                {
                    path: '/app_50000005/page/1',
                    component: () => import('@/views/page/1.vue')
                },
                {
                    path: '/app_50000005/page/jdkanban',
                    component: () => import('@/views/page/jdkanban.vue')
                },
                {
                    path: '/app_50000005/page/action',
                    component: () => import('@/views/page/action.vue')
                },
                {
                    path: '/app_50000005/page/project',
                    component: () => import('@/views/page/project.vue')
                },
                {
                    path: '/app_50000005/page/xdx',
                    component: () => import('@/views/page/ppm/xdx.vue')
                },
                {
                    path: '/app_50000005/page/Page3000000458',
                    component: () => import('@/views/page/Page3000000458.vue')
                },
                {
                    path: '/app_50000005/page/Page3000000459',
                    component: () => import('@/views/page/Page3000000459.vue')
                },
                {
                    path: '/app_50000005/page/ceshigante',
                    component: () => import('@/views/page/ppm/ceshigante.vue')
                },
                {
                    path: '/app_50000005/page/chart',
                    component: () => import('@/views/page/ppm/chart.vue')
                },
                {
                    path: '/app_50000005/page/xin',
                    component: () => import('@/views/page/xin.vue')
                },
                {
                    path: '/app_50000005/page/3000000598',
                    component: () => import('@/views/page/3000000598.vue')
                },
                {
                    path: '/app_50000005/page/3000000601',
                    component: () => import('@/views/page/3000000601.vue')
                },
                {
                    path: '/app_50000005/page/3000000602',
                    component: () => import('@/views/page/3000000602.vue')
                },
                {
                    path: '/app_50000005/page/daoru',
                    component: () => import('@/views/page/daorurenwu.vue')
                },
                {
                    path: '/app_50000005/page/px',
                    component: () => import('@/views/page/ppm/px.vue')
                },
                {
                    path: '/app_50000005/page/faq',
                    component: () => import('@/views/page/Faq.vue')
                },
                {
                    path: '/app_50000005/page/shenpi',
                    component: () => import('@/views/page/shenpi.vue')
                },
                {
                    path: '/app_50000005/page/2',
                    component: () => import('@/views/page/2.vue')
                },
                {
                    path: '/app_50000005/page/xiezuo',
                    component: () => import('@/views/page/xiezuo.vue')
                },
                {
                    path: '/app_50000005/page/map',
                    component: () => import('@/views/page/map.vue')
                },
                {
                    path: '/app_50000005/page/newView',
                    component: () => import('@/views/page/xiezuo/newView.vue')
                },
                {
                    path: '/app_50000005/page/peizhi',
                    component: () => import('@/views/page/xiezuo/peizhi.vue')
                },
                {
                    path: '/app_50000005/page/ygzhoubao',
                    component: () => import('@/views/page/xiezuo/ygzhoubao.vue')
                },
                {
                    path: '/app_50000005/page/zongjie',
                    component: () => import('@/views/page/xiezuo/zongjie.vue')
                },
                {
                    path: '/app_50000005/page/ygzongjie',
                    component: () => import('@/views/page/xiezuo/ygzongjie.vue')
                },
                {
                    path: '/app_50000005/page/jinzhan',
                    component: () => import('@/views/page/xiezuo/jinzhan.vue')
                },
                {
                    path: '/app_50000005/page/jiankang',
                    component: () => import('@/views/page/xiezuo/jiankang.vue')
                },
                {
                    path: '/app_50000005/page/xmzongjie',
                    component: () => import('@/views/page/xiezuo/xmzongjie.vue')
                },
                {
                    path: '/app_50000005/page/qyxx',
                    component: () => import('@/views/page/price/qyxx.vue')
                },
                {
                    path: '/app_50000005/page/zidian',
                    component: () => import('@/views/page/price/zidian.vue')
                },
                {
                    path: '/app_50000005/page/quxian',
                    component: () => import('@/views/page/price/quxian.vue')
                },
                {
                    path: '/app_50000005/page/yunfei',
                    component: () => import('@/views/page/price/Page3000000712.vue')
                },
                {
                    path: '/app_50000005/page/3000000725',
                    component: () => import('@/views/page/price/Page3000000725.vue')
                },
                {
                    path: '/app_50000005/page/shuliao',
                    component: () => import('@/views/page/price/shuliao.vue')
                },
                {
                    path: '/app_50000005/page/shichangxuqiu',
                    component: () => import('@/views/page/price/shichangxuqiu.vue')
                },
                {
                    path: '/app_50000005/page/qiyexiaoliang',
                    component: () => import('@/views/page/price/qiyexiaoliang.vue')
                },
                {
                    path: '/app_50000005/page/jingqixiaoliang',
                    component: () => import('@/views/page/price/jingqixiaoliang.vue')
                },
                {
                    path: '/app_50000005/page/qiyechengben',
                    component: () => import('@/views/page/price/qiyechengben.vue')
                },
                {
                    path: '/app_50000005/page/tianqi',
                    component: () => import('@/views/page/price/tianqi.vue')
                },
                {
                    path: '/app_50000005/page/shuinijiage',
                    component: () => import('@/views/page/price/shuinijiage.vue')
                },
                {
                    path: '/app_50000005/page/meitan',
                    component: () => import('@/views/page/price/meitan.vue')
                },
                {
                    path: '/app_50000005/page/yxgl',
                    component: () => import('@/views/page/price/yxgl.vue')
                } ,{
                    path: '/app_50000005/page/ktyjh',
                    component: () => import('@/views/page/price/ktyjh.vue')
                },
                {
                    path: '/app_50000005/page/map1',
                    component: () => import('@/views/page/price/map.vue')
                },
                {
                    path: '/app_50000005/page/mtjg',
                    component: () => import('@/views/page/price/mtjg.vue')
                },
                {
                    path: '/app_50000005/page/ceshi111',
                    component: () => import('@/views/page/price/ceshi.vue')
                },
                {
                    path: '/app_50000005/page/fagl',
                    component: () => import('@/views/page/price/fagl.vue')
                },
                {
                    path: '/app_50000005/page/3000000733',
                    component: () => import('@/views/page/price/Page3000000733.vue')
                },
                {
                    path: '/app_50000005/page/chengshirenkou',
                    component: () => import('@/views/page/price/chengshirenkou.vue')
                },
                {
                    path: '/app_50000005/page/shujuyingshe',
                    component: () => import('@/views/page/price/shujuyingsheguanli.vue')
                },
                {
                    path: '/app_50000005/page/moni',
                    component: () => import('@/views/page/price/moni.vue')
                },
                {
                    path: '/app_50000005/page/jingqijiageguanli',
                    component: () => import('@/views/page/price/jingqijiageguanli.vue')
                },
                {
                    path: '/app_50000005/page/linjinfenxi',
                    component: () => import('@/views/page/price/linjinfenxi.vue')
                },
                {
                    path: '/app_50000005/page/shichangfenxi',
                    component: () => import('@/views/page/price/shichangfenxi.vue')
                },
                {
                    path: '/app_50000005/page/kucunfenxi',
                    component: () => import('@/views/page/price/kucunfenxi.vue')
                },
                {
                    path: '/app_50000005/page/celuefenxi',
                    component: () => import('@/views/page/price/celuefenxi.vue')
                }
            ]
        }
    ]
}
export default pageRouterConfig
